//
//	MCPlanTimePlanDateList.swift
//	Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport

import Foundation 
import ObjectMapper


class MCPlanTimePlanDateList : NSObject, NSCoding, Mappable{

	var hasPlan : Int?
	var planDate : String?


	class func newInstance(map: Map) -> Mappable?{
		return MCPlanTimePlanDateList()
	}
	required init?(map: Map){}
	private override init(){}

	func mapping(map: Map)
	{
		hasPlan <- map["hasPlan"]
		planDate <- map["planDate"]
		
	}

    /**
    * NSCoding required initializer.
    * Fills the data from the passed decoder
    */
    @objc required init(coder aDecoder: NSCoder)
	{
         hasPlan = aDecoder.decodeObject(forKey: "hasPlan") as? Int
         planDate = aDecoder.decodeObject(forKey: "planDate") as? String

	}

    /**
    * NSCoding required method.
    * Encodes mode properties into the decoder
    */
    @objc func encode(with aCoder: NSCoder)
	{
		if hasPlan != nil{
			aCoder.encode(hasPlan, forKey: "hasPlan")
		}
		if planDate != nil{
			aCoder.encode(planDate, forKey: "planDate")
		}

	}

}